import type { Link } from '@/types/route';

export default [
  {
    title: '云边端集群概览',
    icon: 'mdi-home',
    to: '/'
  },
  {
    title: '集群管理',
    icon: 'mdi-server',
    to: '/cluster',
    children: [
      { title: '集群信息', to: 'info' },
      { title: '节点管理', to: 'node' },
      { title: '存储管理', to: 'storage' },
      { title: '网络管理', to: 'network' },
      { title: '虚拟机管理', to: 'vm' },
      // { title: '虚拟机模板', to: 'template' },
      // { title: '虚拟机快照', to: 'snapshot' }
    ]
  },
  {
    title: '跨域虚拟存储空间',
    icon: 'mdi-database',
    to: '/fs',
    children: [
      { title: '文件跨域管理', to: 'file' },
      { title: '文件跨域上传', to: 'operation' },
      { title: '文件跨域传输', to: 'transfer' },
      { title: '文件跨域共享', to: 'share' }
    ]
  },
  {
    title: '去中心化任务管理',
    icon: 'mdi-clock-outline',
    to: '/scheduler',
    children: [
      { title: '集群概览', to: 'mainscreen' },
      { title: '任务管理', to: 'task' },
      { title: '任务提交', to: 'submit' },
      { title: '任务日志', to: 'log' }
    ]
  },
  { 
    title: '大语言模型推理',
    icon: 'mdi-robot-outline',
    to: '/chat'
  },
  {
    title: '系统管理',
    icon: 'mdi-cog',
    to: '/system',
    children: [
      { title: '用户管理', to: 'user' },
      { title: '角色管理', to: 'role' },
      { title: '权限管理', to: 'permission' }
    ]
  }
] as Link[];
